/* Add these new styles below existing styles */
.content-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
    display: flex;
    gap: 2rem;
}

.left-column {
    flex: 3;
}

.right-column {
    flex: 1;
    min-width: 300px;
}



/* Add these new styles */
.article-detail {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
    /*max-width:770px;*/
}
.article-detail img{
    width: 100%;
    height: auto;
    object-fit: cover; /* 按比例裁剪多余部分 */
    border-radius: 8px;
    /*max-width:770px;*/
}
.article-title {
    color: var(--dark-color);
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
    opacity: 0.8;
}

.article-content {
    line-height: 1.8;
    color: var(--dark-color);
}

.article-content img {
    width: 100%;
    height: auto;
    object-fit: cover; /* 按比例裁剪多余部分 */
    border-radius: 8px;

}
.article-content a{
    /*color:#000000;*/
    text-decoration: none;
    color:#ec8661;
}
.article-content p{
    margin: 1rem 0;
}
.article-content h2{
    padding: 0.5rem 0;
}

.article-content ul{
    padding-left: 2rem;
}
.article-content ol{
    padding-left: 2rem;
}
.article-content table{
    border: 1px #000000 solid;
    padding: 0.5rem;
    margin: 1rem 0;
}
.article-content td{
    border: 1px #000000 solid;
    padding: 1rem;
    text-align: center;
}
.article-content th{
    border: 1px #000000 solid;
    padding: 1rem;
    text-align: center;
}
.article-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--secondary-color);
}

.nav-button {
    background: var(--primary-color);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.3s ease;
}

.nav-button:hover {
    transform: translateX(5px);
}

.prev-button:hover {
    transform: translateX(-5px);
}

.article-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.article-card {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}
.article-card a{
    color:#000000;
    text-decoration: none;
}

.article-card:hover {
    transform: translateY(-3px);
}

.article-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .article-title {
        font-size: 1.8rem;
    }

    .article-meta {
        flex-direction: column;
        align-items: start;
        gap: 0.5rem;
    }

    .article-list {
        grid-template-columns: 1fr;
    }


}









.recommended-card {
    background: white;
    padding: 1rem;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.recommended-card a{
    color:#000000;
    text-decoration: none;
}
.recommended-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    .content-container {
        flex-direction: column;
    }

    .article-list {
        grid-template-columns: 1fr;
    }

    .article-detail {
        /*background: white;*/
        padding: 1rem;
        /*border-radius: 10px;*/
        /*box-shadow: 0 2px 8px rgba(0,0,0,0.1);*/
        /*margin-bottom: 2rem;*/
        /*max-width:770px;*/
    }

    .article-content table{
        /*border: 1px #000000 solid;*/
        border:none;
        padding: 0.5rem;
        margin: 1rem 0;
        /*width:95%;*/
    }

    .article-content td{
        border: 1px #000000 solid;
        padding: 1rem 0;
        text-align: center;
    }
    .article-content th{
        border: 1px #000000 solid;
        padding: 1rem 0;
        text-align: center;
    }
}